projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a18d0
)
Fix garmin crash.
author
robertl
<robertl>
Wed, 18 Sep 2002 17:14:05 +0000
(17:14 +0000)
committer
robertl
<robertl>
Wed, 18 Sep 2002 17:14:05 +0000
(17:14 +0000)
garmin.c
patch
|
blob
|
history
mingw/Makefile
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index 7d25309885c121555be200926e71df3d7600b29e..c6a81fa799c2e20b8957fed010602d6ba22e2e01 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-24,7
+24,6
@@
#include "jeeps/gps.h"
#define MYNAME "GARMIN"
-static FILE *file_in;
static const char *portname;
static void
@@
-40,7
+39,6
@@
rw_init(const char *fname)
static void
rw_deinit(void)
{
- fclose(file_in);
}
static void
@@
-112,8
+110,6
@@
data_write(void)
GPS_Way_Del(&way[i]);
}
free(way);
-
-
}
ff_vecs_t garmin_vecs = {
diff --git
a/mingw/Makefile
b/mingw/Makefile
index 52465f0b28883430d7be81287982011344a9e846..228b9c309f2f43380292165d335ac9c846a00cfc 100644
(file)
--- a/
mingw/Makefile
+++ b/
mingw/Makefile
@@
-1,4
+1,4
@@
-CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc -Iinclude
+CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc -Iinclude
-I../coldsync
VPATH=..
gpsbabel.exe: